#ifndef TREE_H__
#define TREE_H__
typedef int datatype;

typedef struct tree_st
{
	datatype data;
	struct tree_st *lchild;
	struct tree_st *rchild;
}tree_st;


int tree_insert(tree_st **,datatype);

datatype *tree_find(tree_st *,datatype);

void tree_draw(tree_st *);

void tree_balance(tree_st **);

void tree_delete(tree_st **,datatype);

void level_print(tree_st *);
#endif
